package org.zxp.javacheck.calc;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @program: effectiveJava
 * @description:
 * @author: X-Pacific zhang
 * @create: 2020-12-25 10:21
 **/
public class Test {
    public static void main(String[] args){
        BigDecimal a = new BigDecimal(31);
        BigDecimal c = a.divide(new BigDecimal(6), 6);
        System.out.println(c.doubleValue());


        System.out.println();
    }
}
